package com.xbk.seckill.common.model.dto;

import lombok.Data;

import java.io.Serializable;

/**
 * 秒杀订单DTO
 *
 * @author xiexu
 * @date 2025/1/12 22:45
 */
@Data
public class SeckillOrderDTO implements Serializable {

    private static final long serialVersionUID = -3164396374622988886L;

    /**
     * 订单id
     */
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 商品id
     */
    private Long goodsId;

    /**
     * 购买数量
     */
    private Integer quantity;

    /**
     * 活动id
     */
    private Long activityId;
}
